package ysq.xyg.model;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 天气
 * */
@Table(name = "bohu_weather")
public class Weather implements Serializable {
    @Id
    @Column(name = "id")
    private int id;
    //设备id
    @Column(name = "deviceId")
    private String deviceId;
    //城市
    @Column(name = "city")
    private String city;
    //城市Id
    @Column(name = "city_id")
    private String cityId;

    @Column(name = "t")
    private String t;

    @Column(name = "tianqi")
    private String w;

    @Column(name = "pm25")
    private String pm25;

    @Column(name = "aqi")
    private String aqi;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getT() {
        return t;
    }

    public void setT(String t) {
        this.t = t;
    }

    public String getW() {
        return w;
    }

    public void setW(String w) {
        this.w = w;
    }

    public String getPm25() {
        return pm25;
    }

    public void setPm25(String pm25) {
        this.pm25 = pm25;
    }

    public String getAqi() {
        return aqi;
    }

    public void setAqi(String aqi) {
        this.aqi = aqi;
    }

    public Weather(String deviceId) {
        this.deviceId = deviceId;
    }

    public Weather() {
    }
}